package org.marlin.http.conf;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * init version 1.5.0
 *
 * @author Jack ZG
 * @since 1.0.0
 */
@Component
@ConfigurationProperties(prefix = "http")
@Data
public class HttpConfigProperties {
    private Integer connectTimeToLive;
    private Integer maxTotal;
    private Integer maxPerRoute;
    private Integer validateAfterInactivity;
    private Integer connectionRequestTimeout;
    private Integer connectTimeout;
    private Integer socketTimeout;
}

